package com.heatup.apt.model.user;

import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotations.IdType;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

/**
 *
 * user_discount:用户购买会员时长类型信息表
 *
 */
@TableName("user_discount")
public class UserDiscount implements Serializable {

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	/** 主键 */
	@TableId(type = IdType.AUTO)
	private Integer id;

	/** 表示购买会员类型：1~12月 */
	private String type;

	/** 是否推荐：0(不推荐) ， 1 (推荐) */
	private String recommend;

	/** 日期类型：1(日) ，2(月) ，3 (年) */
	@TableField(value = "date_type")
	private String dateType;

	/** 原价 */
	@TableField(value = "prime_price")
	private BigDecimal primePrice;

	/** 折扣 */
	private Double discount;

	/** 赠送天数. */
	private Integer freeday;

	/** 有效截止日期 */
	private Date dateline;

	/** 备注 */
	private String remarks;


	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getType() {
		return this.type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getRecommend() {
		return this.recommend;
	}

	public void setRecommend(String recommend) {
		this.recommend = recommend;
	}

	public String getDateType() {
		return this.dateType;
	}

	public void setDateType(String dateType) {
		this.dateType = dateType;
	}

	public BigDecimal getPrimePrice() {
		return this.primePrice;
	}

	public void setPrimePrice(BigDecimal primePrice) {
		this.primePrice = primePrice;
	}

	public Double getDiscount() {
		return this.discount;
	}

	public void setDiscount(Double discount) {
		this.discount = discount;
	}

	public Integer getFreeday() {
		return this.freeday;
	}

	public void setFreeday(Integer freeday) {
		this.freeday = freeday;
	}

	public Date getDateline() {
		return this.dateline;
	}

	public void setDateline(Date dateline) {
		this.dateline = dateline;
	}

	public String getRemarks() {
		return this.remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

}
